/**
 * @MediatorObserverProxyTest.as
 * 
 * @author sodaChen mail:asframe@163.com
 * @version 1.0
 * <br>Copyright (C), 2010 asFrame.com
 * <br>This program is protected by copyright laws.
 * <br>Program Name:AStruts2
 * <br>Date:2012-5-9
 */
package com.asframe.astruts2.proxy
{
	import flexunit.framework.Assert;
	
	/**
	 *
	 * @author sodaChen
	 * @Date:2012-5-9
	 */
	public class MediatorObserverProxyTest
	{		
		[Test]
		public function testReplyNotice():void
		{
			var mediatorMock1:MediatorObserverMock1 = new MediatorObserverMock1();
			var mediatorMock2:MediatorObserverMock1 = new MediatorObserverMock1();
			Assert.fail("Test method Not yet implemented");
		}
	}
}
import com.asframe.pattern.observer.IObserver;

class MediatorObserverMock1 implements IObserver
{
	/**
	 * 相应观察者 
	 * @param notice 触发此次相应的通知
	 * @param args 相关参数（当参数只有一个时，args为单一对象，如果参数是多个的话，则args为数组） 
	 * 
	 */		
	public function replyNotice(notice:*,args:* = null):void
	{
		
	}
}
class MediatorObserverMock2 implements IObserver
{
	/**
	 * 相应观察者 
	 * @param notice 触发此次相应的通知
	 * @param args 相关参数（当参数只有一个时，args为单一对象，如果参数是多个的话，则args为数组） 
	 * 
	 */		
	public function replyNotice(notice:*,args:* = null):void
	{
		
	}
}
